﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PUCIT.eFCS
{
    public partial class DesignNewTemplate : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Session["page"] = "DesignNewTemplate.aspx";
            }
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            String NoofSections = DDL.SelectedItem.Text;
            String FormName = Formtxt.Text;
            float version = 1.0F;
            Session["documentName"] = FormName;
            Session["totalSections"] = NoofSections;
            Session["version"] = version;
            Session["completedSections"] = 0;

            Response.Redirect("DesignStationSections.aspx");
        }
    }
}